package com.haidong.pojo;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Worker {
    private Integer id;
    private String name;
    private Character gender;
    private LocalDate joinTime;
    private String poliJob;
    private String detailJob;
    private LocalDate upperPoliTime;
    private LocalDate upperDetailTime;
    private String coupleName;
    private Integer houseId;
    private Integer fileId;
    private String houseProveId;
    private Integer deptId;
    private Boolean isHost;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Character getGender() {
        return gender;
    }

    public void setGender(Character gender) {
        this.gender = gender;
    }

    public LocalDate getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(LocalDate joinTime) {
        this.joinTime = joinTime;
    }

    public String getPoliJob() {
        return poliJob;
    }

    public void setPoliJob(String poliJob) {
        this.poliJob = poliJob;
    }

    public String getDetailJob() {
        return detailJob;
    }

    public void setDetailJob(String detailJob) {
        this.detailJob = detailJob;
    }

    public LocalDate getUpperPoliTime() {
        return upperPoliTime;
    }

    public void setUpperPoliTime(LocalDate upperPoliTime) {
        this.upperPoliTime = upperPoliTime;
    }

    public LocalDate getUpperDetailTime() {
        return upperDetailTime;
    }

    public void setUpperDetailTime(LocalDate upperDetailTime) {
        this.upperDetailTime = upperDetailTime;
    }

    public String getCoupleName() {
        return coupleName;
    }

    public void setCoupleName(String coupleName) {
        this.coupleName = coupleName;
    }

    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public String getHouseProveId() {
        return houseProveId;
    }

    public void setHouseProveId(String houseProveId) {
        this.houseProveId = houseProveId;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Boolean getHost() {
        return isHost;
    }

    public void setHost(Boolean host) {
        isHost = host;
    }

    @Override
    public String toString() {
        return "Worker{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender=" + gender +
                ", joinTime=" + joinTime +
                ", poliJob='" + poliJob + '\'' +
                ", detailJob='" + detailJob + '\'' +
                ", upperPoliTime=" + upperPoliTime +
                ", upperDetailTime=" + upperDetailTime +
                ", coupleName='" + coupleName + '\'' +
                ", houseId=" + houseId +
                ", fileId=" + fileId +
                ", houseProveId='" + houseProveId + '\'' +
                ", deptId=" + deptId +
                ", isHost=" + isHost +
                '}';
    }
}
